package com.neu.smty.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 项目管理1对象 physical_exam_project
 * 
 * @author liningning
 * @date 2025-10-10
 */
@ApiModel("项目管理1")
public class PhysicalExamProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目ID */
    @ApiModelProperty("项目ID")
    private Long projectId;

    /** 项目名称 */
    @ApiModelProperty("项目名称")
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目说明 */
    @ApiModelProperty("项目说明")
    @Excel(name = "项目说明")
    private String projectDescription;

    /** 项目单价 */
    @ApiModelProperty("项目单价")
    @Excel(name = "项目单价")
    private BigDecimal projectPrice;

    /** 检查时长（分钟） */
    @ApiModelProperty("检查时长")
    @Excel(name = "检查时长", readConverterExp = "分=钟")
    private Long examinationDuration;

    /** 是否必检 (0-否, 1-是) */
    @ApiModelProperty("是否必检 (0-否, 1-是)")
    @Excel(name = "是否必检 (0-否, 1-是)")
    private Integer isMandatory;

    /** 所属科室ID */
    @ApiModelProperty("所属科室ID")
    @Excel(name = "所属科室ID")
    private Long departmentId;

    /** 所属类型ID */
    @ApiModelProperty("所属类型ID")
    @Excel(name = "所属类型ID")
    private Long typeId;

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectDescription(String projectDescription) 
    {
        this.projectDescription = projectDescription;
    }

    public String getProjectDescription() 
    {
        return projectDescription;
    }
    public void setProjectPrice(BigDecimal projectPrice) 
    {
        this.projectPrice = projectPrice;
    }

    public BigDecimal getProjectPrice() 
    {
        return projectPrice;
    }
    public void setExaminationDuration(Long examinationDuration) 
    {
        this.examinationDuration = examinationDuration;
    }

    public Long getExaminationDuration() 
    {
        return examinationDuration;
    }
    public void setIsMandatory(Integer isMandatory) 
    {
        this.isMandatory = isMandatory;
    }

    public Integer getIsMandatory() 
    {
        return isMandatory;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("projectDescription", getProjectDescription())
            .append("projectPrice", getProjectPrice())
            .append("examinationDuration", getExaminationDuration())
            .append("isMandatory", getIsMandatory())
            .append("departmentId", getDepartmentId())
            .append("typeId", getTypeId())
            .toString();
    }
}
